feat(cli): add sync remote subcommand#278
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new sync-remote tool command that synchronizes dependencies from the rolldown and rolldown-vite repositories by cloning them locally and merging their pnpm workspace configurations. The implementation includes intelligent version merging logic for semver ranges.
Key changes:
- New
sync-remote-deps.tsmodule with git repository cloning and pnpm workspace merging functionality - Added dependencies:
@std/yaml,semver,@types/semver,@oxc-node/cli, and@oxc-node/core - Updated tool command dispatcher to include the new
sync-remotesubcommand
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Added catalog entries for new dependencies required by the sync-remote tool |
| pnpm-lock.yaml | Lockfile updates reflecting the new dependencies |
| packages/tools/src/sync-remote-deps.ts | New module implementing git repository syncing and pnpm workspace merging logic |
| packages/tools/src/index.ts | Added sync-remote subcommand handling and updated help text |
| packages/tools/package.json | Added new devDependencies and dependencies for YAML parsing, semver handling, and oxc-node |
| .npmrc | Configured JSR registry for @jsr scoped packages |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a9fbfc0 to
6b3d545
Compare
💡 Codex Reviewvite-plus/packages/tools/src/index.ts Lines 1 to 3 in a9fbfc0 The CLI entry now imports ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
6b3d545 to
93baf85
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: LongYinan <lynweklm@gmail.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|

No description provided.